package com.pl.rabarbar.old.stuff.need.to.be;

import java.util.ArrayList;
import java.util.List;
import java.util.Observable;
import java.util.Observer;


public class ListObserver implements Observer {

	private List idList;

//	public Deamon getDeamon() {
	//	return deamon;
//	}
	
	private void setList(List idList)
	{
		//  if(this.idList == null) this.idList= new ArrayList(deamon.getIdList());
	 //        else {
	        	 idList.clear();
	  //      		ListObserver lo =  (List) getServletContext().getAttribute("idList") ;
	//        	 idList.addAll(deamon.getIdList());
	        	 
	     //    }
	}
	

	public List getIdList() {
		return idList;
	}

	public ListObserver()
	   {
	   }

	@Override
	public void update(Observable o, Object arg) {
//System.out.println("oto nowa lista: " + deamon.getIdList() + "  i nowa: " + this.idList);
	}


}
